package com.course.enums;

public enum CourseStatus {
    // 课程状态 1：正常，2：已满，3：下架
    NORMAL(1, "正常"),
    OFF_SHELF(2, "下架");


    private final Integer status;
    private final String description;

    CourseStatus(Integer status, String description) {
        this.status = status;
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public String getDescription() {
        return description;
    }
}
